package com.lovo.dao;

import com.lovo.bean.ServiceOrder;

import java.util.List;

public interface ServiceOrderMapper {
    int deleteByPrimaryKey(Integer serviceOrderId);

    int insert(ServiceOrder record);

    int insertSelective(ServiceOrder record);

    ServiceOrder selectByPrimaryKey(Integer serviceOrderId);

    int updateByPrimaryKeySelective(ServiceOrder record);

    int updateByPrimaryKey(ServiceOrder record);

    /**
     * 分页查询所有（包含条件查询）
     * @param serviceOrderQuery
     * @return
     */
    List<ServiceOrder> selectByQuery(String serviceOrderQuery);
}